-- GENERATED SPELL FOR [Dishu] --


function spell0_5865(pUnit, Event) --@Savannah Cubs,Self--
pUnit:FullCastSpellOnTarget(8210,pUnit)
pUnit:RegisterEvent('Sorts_5865', 684, 1)
end

function Sorts_5865(pUnit, Event)
local choix_sorts_5865 = math.random(0, 0)
if choix_sorts_5865 == 0 then
pUnit:RegisterEvent('spell0_5865', 1, 1)
end
end

function mob5865_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5865', math.random(1500, 3000), 1)
end

function mob5865_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5865_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5865_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5865, 1, 'mob5865_Action')
RegisterUnitEvent(5865, 2, 'mob5865_Leave')
RegisterUnitEvent(5865, 3, 'mob5865_Kill')
RegisterUnitEvent(5865, 4, 'mob5865_Die')
